﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.SelfHost.AssemblyResolvers.Config
{
    public class PreLoadAssemblySection : ConfigurationSection
    {
        [ConfigurationProperty("", IsDefaultCollection = true)]
        public AssemblyElementCollection AssemblyNames
        {
            get
            {
                return (AssemblyElementCollection)this[""];
            }
        }

        public static PreLoadAssemblySection GetSection()
        {
            return ConfigurationManager.GetSection("preLoadAssemblies") as PreLoadAssemblySection;
        }
    }
}
